package com.yunchang.springboot.models.mwsreportbean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 亚马逊api获取all_order表
 * </p>
 *
 * @author sjd
 * @since 2020-08-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mws_all_order")
@ApiModel(value="MwsAllOrderDO对象", description="亚马逊api获取all_order表")
public class MwsAllOrderDO extends Model<MwsAllOrderDO> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增id")
    private Long id;

    @ApiModelProperty(value = "店铺标识")
    private String shop;

    @ApiModelProperty(value = "卖家ID")
    private String sellerId;

    @ApiModelProperty(value = "区域")
    private String area;

    @ApiModelProperty(value = "亚马逊为订单提供的唯一可显示编号")
    private String amazonOrderId;

    @ApiModelProperty(value = "卖家为订单提供的唯一编号（可选）")
    private String merchantOrderId;

    @ApiModelProperty(value = "下订单的日期")
    private String purchaseDate;

    @ApiModelProperty(value = "订单最近更新的日期")
    private String lastUpdatedDate;

    @ApiModelProperty(value = "买家订单的当前状态")
    private String orderStatus;

    @ApiModelProperty(value = "说明订单的配送方式：亚马逊配送 (AFN) 或卖家自行配送 (MFN)")
    private String fulfillmentChannel;

    @ApiModelProperty(value = "下订单的渠道")
    private String salesChannel;

    @ApiModelProperty(value = "CBA/WBA 订单下单的子渠道")
    private String orderChannel;

    private String url;

    @ApiModelProperty(value = "一个枚举值，确定买家期望卖家使用的配送服务类型（例如，标准配送与加急配送）")
    private String shipServiceLevel;

    @ApiModelProperty(value = "商品的简称，在商品详情页面上和浏览器的标题栏以粗体字显示")
    private String productName;

    @ApiModelProperty(value = "	卖家为商品定义的唯一编号")
    private String sku;

    private String fnsku;

    @ApiModelProperty(value = "	亚马逊库存编号")
    private String asin;

    @ApiModelProperty(value = "该商品在订单内的当前状态")
    private String itemStatus;

    @ApiModelProperty(value = "此商品的购买数量")
    private String quantity;

    @ApiModelProperty(value = "购物使用的货币。支持的货币包括美元、加元、英镑、欧元和日元")
    private String currency;

    @ApiModelProperty(value = "买家为商品支付的金额。金额是总金额，不是单价")
    private String itemPrice;

    @ApiModelProperty(value = "买家为商品税支付的金额。金额是总金额，不是单价")
    private String itemTax;

    @ApiModelProperty(value = "买家支付的运费金额。金额是总金额，不是单价")
    private String shippingPrice;

    @ApiModelProperty(value = "买家为运费税支付的金额。金额是总金额，不是单价")
    private String shippingTax;

    @ApiModelProperty(value = "买家为礼品包装支付的金额。金额是总金额，不是单价")
    private String giftWrapPrice;

    @ApiModelProperty(value = "买家为礼品包装税支付的金额。金额是总金额，不是单价")
    private String giftWrapTax;

    @ApiModelProperty(value = "应用于订单商品的所有促销折扣的总和")
    private String itemPromotionDiscount;

    @ApiModelProperty(value = "应用于配送的促销折扣")
    private String shipPromotionDiscount;

    @ApiModelProperty(value = "标准地址的城市")
    private String shipCity;

    @ApiModelProperty(value = "标准地址的州或地区")
    private String shipState;

    @ApiModelProperty(value = "标准地址的邮政编码")
    private String shipPostalCode;

    @ApiModelProperty(value = "ISO 3166 标准的双字母国家/地区代码")
    private String shipCountry;

    @ApiModelProperty(value = "应用于此订单商品的所有商品促销的列表")
    private String promotionIds;

    private String isBusinessOrder;

    private String purchaseOrderNumber;

    private String priceDesignation;

    private String isSoldByAb;

    private String customizedUrl;

    private String customizedPage;

    @ApiModelProperty(value = "是否生成财务数据状态")
    private Integer financeStatus;

    private String createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
